package com.xhai.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * <p>
 * 部门岗位关联表
 * </p>
 *
 * @author xhai
 * @since 2025-05-24
 */
@Getter
@Setter
@ToString
@TableName("sys_dept_post")
@Schema(name = "SysDeptPost", description = "部门岗位关联表")
public class SysDeptPost implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 部门ID
     */
    @Schema(description = "部门ID")
    @TableField(value = "DEPT_ID")
    private Long deptId;

    /**
     * 岗位ID
     */
    @Schema(description = "岗位ID")
    @TableField(value = "POST_ID")
    private Long postId;
}
